<template>
    <div style="min-height: 100vh;"><router-view></router-view></div>
    <a href="https://beian.miit.gov.cn/">辽ICP备2022011942号-1</a>
</template>

<script setup>
// template中如果不止一个项并且可能有添加项，把关闭写在单独一行

</script>

<style>
body{
    margin: 0;
    overflow: overlay;
}
::-webkit-scrollbar{
    background-color: transparent;
    width: 12px;
}
::-webkit-scrollbar-thumb{
    background-color: transparent;
    border-radius: 8px;
    background-clip: content-box;
    border: 2px solid transparent;
}
@media (prefers-color-scheme: light) {
    body[scroll]::-webkit-scrollbar-thumb,
    ::-webkit-scrollbar-thumb:hover{
        background-color: rgba(0,0,0,.5);
    }
}
@media (prefers-color-scheme: dark) {
    body[scroll]::-webkit-scrollbar-thumb,
    ::-webkit-scrollbar-thumb:hover{
        background-color: rgba(255, 255, 255, 0.5);
    }
}
</style>